<?php
/**
 * 企业分类
 *
 */
class EcategoryAction extends Action
{
    function _initialize()
    {
        
    }
	
    /**
     * Ajax获取所有企业分类
     */
    public function GetClass()
    {
    	$Ecategory = D('Ecategory');
    	$Class = $Ecategory->findall();

    	$this->assign('Class',$Class);
    	$this->display();
    }
}
?>